package com.vlefen.springcloud.grpc;


import com.vlefen.springcloud.grpc.grpc.GRpcType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


@Target({ElementType.TYPE, ElementType.FIELD, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface GRpc {
    GRpcType type() default GRpcType.Stub;

    Class serviceDefinition() default Object.class;

    String[] tags() default {};
}
